﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yitter.IdGenerator;

namespace KayakMes.Common.Dtos.CheckDto
{
    public class ProcessCheckDto
    {
        /// <summary>
        /// 检查单编号
        /// </summary>
        public string CheckCode { get; set; }
        /// <summary>
        /// 检查单名称
        /// </summary>
        public string CheckName { get; set; }
        /// <summary>
        /// 检查方式
        /// </summary>
        public string CheckWay { get; set; }
        /// <summary>
        /// 产品类别checkStandard 
        /// </summary>
        public string ProductCategory { get; set; }
        /// <summary>
        /// 检查版本
        /// </summary>
        public string CheckVersion { get; set; }
        /// <summary>
        /// 工序ID
        /// </summary>
        public string GProcessId { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string GProcessName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }
        /// <summary>
        /// 样本数量
        /// </summary>
        public int SampleCount { get; set; }

        /// <summary>
        /// 检查项名称
        /// </summary>
        /// 

        public string ItemName { get; set; }
        /// <summary>
        /// 检查项标准
        /// </summary>
        /// 
    
        public string ItemStandard { get; set; }
        /// <summary>
        /// 检查项工具
        /// </summary>
        /// 
  
        public string ItemTool { get; set; }
        /// <summary>
        /// 检查项描述
        /// </summary>
        /// 

        public string ItemDescription { get; set; }



        public string CheckSheetId { get; set; } // 外键
        /// <summary>
        /// 检查项名称
        /// </summary>
        /// 
        public DateTime CreateTime { get; set; } = DateTime.Now;

        public string CreateUserId { get; set; }

        /// <summary>
        /// 默认为未检验
        /// </summary>
        public bool StateBool { get; set; } = false;
    }
}
